{{if data && data.length > 0}}
{{each data as item index}}
  <div class="block js_to_xq" data-index="{{index}}">
<p class="logo" {{if !!item.image || !!item.icon}}style="background-image:url({{item.image || item.icon}}); background-position:center" {{/if}}></p>
            <div class="three-center">
<p><span>{{item.name}}</span><span class="ac small">{{if item.title == 1}}主任医师{{else if item.title == 2}}副主任医师{{else if item.title==3}}主治医师{{else if item.title==4}}住院医师 {{else if item.title==5}}教授{{else if item.title==6}}副教授{{else if item.title==7}}讲师{{else if item.title==8}} 护士{{else if item.title==9}}执业医师{{else if item.title==10}}全科医师{{/if}}</span></p>
{{if item.orgname}}
<p class="tc">机构：{{item.orgname}}</p>
{{/if}}
{{if item.intro}}
<p class="tc">简介：{{item.intro}}</p>
{{/if}}
{{if item.visitTime}}
<p class="tc">出诊时间：{{item.visitTime}}</p>
{{/if}}
{{if item.goodAt}}
<p class="tc c5">擅长：{{item.goodAt}}</p>
{{/if}}

            </div>
            <div class="three-right js_toqy" data-orgcode="{{item.orgcode}}" data-name="{{item.name}}" data-orgname="{{item.orgname}}" data-image="{{item.image || item.icon}}">
                <p>申请预约</p>
            </div>
        </div>
{{/each}}
{{else}}
 <p style="font-size:20px;text-align:center;">未查找到相关的机构或者家医</p>
{{/if}}